class HttpServer
{
	::boost::asio::io_context& _ioc;
	std::string _ip;
	unsigned short _port = 0;
	::boost::asio::ip::tcp::acceptor _acceptor;

public:
	HttpServer(::boost::asio::io_context& ioc, const std::string& ip, unsigned short port); 
	void listen();

private:
	void startAccept();
};
